package com.shop.controller;

import com.shop.service.Ums_Member_Level_Service;
import com.shop.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/memberLevel")
public class ums_member_level_Controller {
    @Autowired
    public Ums_Member_Level_Service ums_member_level_service;
    /*
     * @Description  查询全部会员等级
     * @param
     * @return com.shop.utils.R
     * @author liusupeng
     * @date 2020/11/5 18:17
     */
@GetMapping("/findAllLevel")
    public R findAllLevel(){

        return ums_member_level_service.findAllLevel();
    }
}
